From c405f810cdc8f1de7d60dde4f5e31ee81a88a382 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 19 Nov 2015 20:06:07 +0100 Subject: [PATCH] wayland: Disallow setting the cursor on the touch master pointer That "pointer" is not backed by anything in the windowing system, ignore cursor updates there. --- gdk/wayland/gdkdevice-wayland.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index eefd38cbc9..58f5b9ef77 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -283,6 +283,9 @@ gdk_wayland_device_set_window_cursor (GdkDevice *device, { GdkWaylandDeviceData *wd = GDK_WAYLAND_DEVICE (device)->device; + if (device == wd->touch_master) + return; + /* Setting the cursor to NULL means that we should use * the default cursor */ -- 2.30.2